package itHeima.lesson3;

import java.util.Scanner;

public class Demo6 {
    /**
     * 程序流程控制
     */
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的考试成绩");
        int score = scanner.nextInt();
        if (score >= 95 && score <= 100) {
            System.out.println("整个自行车");
        } else if (score >= 90 && score <= 94) {
            System.out.println("玩个游乐园");
        } else if (score >= 80 && score <= 89) {
            System.out.println("整个变形金刚");
        } else if (score < 80) {
            System.out.println("男女混合双打");
        } else {
            System.out.println("输入错误");
        }


    }

}
